package spit;

import javax.swing.JFrame;

public class main {
	
	static Game frame;
	
	public static void main(String[] args) 
    {
        //Create and set up the window.
        //JFrame frame = new JFrame("LayeredPaneDemo");
    	frame = new Game();
    	frame.setResizable(false);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

        //Create and set up the content pane.
        //JComponent newContentPane = new Table();
        //newContentPane.setOpaque(true); //content panes must be opaque
        //frame.setContentPane(newContentPane);

        //Display the window.
        frame.pack();
        frame.setVisible(true);
        
        //SleepMessages messageOne = new SleepMessages("him");
        //messageOne.play();
        
        //SleepMessages messageTwo = new SleepMessages("her");
        //messageTwo.play()
        
        //Thread threadOne = new SleepMessages("him");
        //Thread threadTwo = new Thread(new SleepMessages("her"));
        //threadOne.join();
        //threadTwo.join();
    }

	public void createGame()
	{
		
	}
}
